From: Richard M. Stallman Date: Mon, 22 Jul 2002 16:12:31 +0000 (+0000) Subject: (display_line): Replace an unconditional abort with an assertion. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~31433 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=38bf3dafa79223932db7980d458fe676c86e7cdf;p=emacs.git (display_line): Replace an unconditional abort with an assertion. --- diff --git a/src/xdisp.c b/src/xdisp.c index 4e52d39c908..cf538ed9241 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -13229,9 +13229,10 @@ display_line (it) { /* Glyph is completely off the left margin of the window. This should not happen because of the - move_it_in_display_line at the start of - this function. */ - abort (); + move_it_in_display_line at the start of this + function, unless the text display area of the + window is empty. */ + xassert (it->first_visible_x <= it->last_visible_x); } }